import 'dart:ui';

import 'package:flutter/cupertino.dart';
import 'package:flutter_learn_vi/src/page/common/common_loading_dialog.dart';

class SaveLoadingWidget extends StatelessWidget {
  String txt;
  SaveLoadingWidget({this.txt = '加载中...'});
  @override
  Widget build(BuildContext context) {
    return SizedBox(
      width: double.infinity,
      height: double.infinity,
      child: BackdropFilter(
        filter: ImageFilter.blur(
          sigmaX: 5,
          sigmaY: 5,
        ),
        child: LoadingWidget(
          text: txt,
        ),
      ),
    );
  }
}
